<template>
</template>

<script>
	var that;
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {
			var that = this
			that.jssdk();
			wx.ready(function () {
				var sharedata = {
					title: data.share_title,
					desc: data.share_desc,
					imgUrl: data.share_thumb,
					link:data.share_link,
					success: function(){
						console.log('success');
					},
					cancel: function(){
						console.log('cancel');
					}
				};
				wx.onMenuShareAppMessage(sharedata);
				wx.onMenuShareTimeline(sharedata);
			});
		},
		methods: {

		}
	}
</script>

<style>

</style>
